package factory.impl;

import factory.LoggerFactory;
import service.Logger;
import service.impl.FileLogger;

/**
 * 文件日志记录器工厂 - 具体创建者
 */
public class FileLoggerFactory extends LoggerFactory {
    private String filePath;
    
    public FileLoggerFactory(String filePath) {
        this.filePath = filePath;
    }
    
    @Override
    public Logger createLogger() {
        return new FileLogger(filePath);
    }
}

